/**
 * @author Mie Plougstrup, Anders Abildgaard, Bo Stokholm 
 * @Version 16-12-2014
 */

package modelLayer;

public class Supplier extends BusinessPartner {
	
	private Address address;
	
	/**
	 * Constructor 1: For creation in ctrClass
	 * 
	 * @param businessName
	 * @param phoneNo
	 */
	public Supplier(String businessName, String phoneNo) {
		super(businessName, phoneNo);
		address = null;
	}
	
	/**
	 * Constructor 2: For creation in dbClass
	 */
	public Supplier() {
		super();
		address = null;
	}
	
	/**
	 * Constructor 3: For creation as association
	 * 
	 * @param supplierId
	 */
	public Supplier(int supplierId) {
		super(supplierId);
		address = null;
	}


	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}
	
	

}
